package com.yunlan.materia.enums;

/**
 * @author 云澜
 * @date 2022/2/14 3:40 下午
 */
public enum CacheKeyEnum {

    USER_INFO("user:%s:%s:%s", "用户信息"),
    USER_DETAIL("user:%s", "用户详情"),
    USER_ROLE (":app_user_role:%s:%s:%s","用户拥有的角色");
    ;

    CacheKeyEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    String code;
    String msg;

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
